package xyz.zhouzhaodong.crm.service;

import xyz.zhouzhaodong.crm.dto.NotificationDto;
import xyz.zhouzhaodong.crm.entity.Notification;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.zhouzhaodong.crm.util.RestMessage;

/**
 * <p>
 * 通知书202 服务类
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-06-27
 */
public interface INotificationService extends IService<Notification> {

    /**
     * 新增公告
     * @param notificationDto
     * @return
     */
    RestMessage addNotification(NotificationDto notificationDto);

    /**
     * 删除公告
     * @param notificationDto
     * @return
     */
    RestMessage deleteNotification(NotificationDto notificationDto);

    /**
     * 更新公告
     * @param notificationDto
     * @return
     */
    RestMessage updateNotification(NotificationDto notificationDto);

    /**
     * 获取公告
     * @param notificationDto
     * @return
     */
    RestMessage selectNotification(NotificationDto notificationDto);
    
}
